<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link href="/JSP10/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="logo">
        <img src="/JSP10/img/Heart.jpg" alt="">
    </div>
    <div class="login">
        <h1>Heart Login</h1>
        <form action="../UserServlet?action=login" method="post">
          <input type="text" name="user" placeholder="Heart 名" required="required">
          <input type="password" name="password" placeholder="Heart 码" required="required">
        <button type="submit">Login</button>
        <button type="submit"><a href="/JSP10/pages/Register.jsp">Register</a></button>
        </form>
    </div>
</body>
</html>